package com.jumi.microservice.domain.vo;


import java.io.Serializable;
import java.time.LocalDateTime;


public class MessageVO implements Serializable {
    /**
     * 短消息索引id
     */
    private Long messageId;
    /**
     * 回复短消息message_id
     */
    private Long messageParentId;
    /**
     * 短消息发送人
     */
    private Long fromMemberId;
    /**
     * 短消息接收人
     */
    private Long toMemberId;
    /**
     * 短消息标题
     */
    private String messageTitle;
    /**
     * 短消息内容
     */
    private String messageBody;
    /**
     * 短消息发送时间
     */
    private LocalDateTime messageTime;
    /**
     * 短消息回复更新时间
     */
    private LocalDateTime messageUpdateTime;
    /**
     * 短消息打开状态
     */
    private Integer messageOpen;
    /**
     * 短消息状态，0为正常状态，1为发送人删除状态，2为接收人删除状态
     */
    private Integer messageState;
    /**
     * 0为私信、1为系统消息、2为留言
     */
    private Integer messageType;
    /**
     * 已经读过该消息的会员id
     */
    private Long readMemberId;
    /**
     * 已经删除该消息的会员id
     */
    private Long delMemberId;
    /**
     * 站内信是否为一条发给多个用户 0为否 1为多条
     */
    private Integer messageIsmore;
    /**
     * 发信息人用户名
     */
    private String fromMemberName;
    /**
     * 接收人用户名
     */
    private String toMemberName;

    /**
     * 1代表发货提醒 2代表付款成功 3代表余额变动 4代表退款退货
     */
    private Integer systemType;
    /**
     * 跳转地址
     */
    private String link;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Long getMessageParentId() {
        return messageParentId;
    }

    public void setMessageParentId(Long messageParentId) {
        this.messageParentId = messageParentId;
    }

    public Long getFromMemberId() {
        return fromMemberId;
    }

    public void setFromMemberId(Long fromMemberId) {
        this.fromMemberId = fromMemberId;
    }

    public Long getToMemberId() {
        return toMemberId;
    }

    public void setToMemberId(Long toMemberId) {
        this.toMemberId = toMemberId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }

    public LocalDateTime getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(LocalDateTime messageTime) {
        this.messageTime = messageTime;
    }

    public LocalDateTime getMessageUpdateTime() {
        return messageUpdateTime;
    }

    public void setMessageUpdateTime(LocalDateTime messageUpdateTime) {
        this.messageUpdateTime = messageUpdateTime;
    }

    public Integer getMessageOpen() {
        return messageOpen;
    }

    public void setMessageOpen(Integer messageOpen) {
        this.messageOpen = messageOpen;
    }

    public Integer getMessageState() {
        return messageState;
    }

    public void setMessageState(Integer messageState) {
        this.messageState = messageState;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Long getReadMemberId() {
        return readMemberId;
    }

    public void setReadMemberId(Long readMemberId) {
        this.readMemberId = readMemberId;
    }

    public Long getDelMemberId() {
        return delMemberId;
    }

    public void setDelMemberId(Long delMemberId) {
        this.delMemberId = delMemberId;
    }

    public Integer getMessageIsmore() {
        return messageIsmore;
    }

    public void setMessageIsmore(Integer messageIsmore) {
        this.messageIsmore = messageIsmore;
    }

    public String getFromMemberName() {
        return fromMemberName;
    }

    public void setFromMemberName(String fromMemberName) {
        this.fromMemberName = fromMemberName;
    }

    public String getToMemberName() {
        return toMemberName;
    }

    public void setToMemberName(String toMemberName) {
        this.toMemberName = toMemberName;
    }

    public Integer getSystemType() {
        return systemType;
    }

    public void setSystemType(Integer systemType) {
        this.systemType = systemType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
}
